import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
// 导入全局样式表
import './assets/css/global.css'
import { download } from '@/utils/request'
import plugins from './plugins' // plugins
// 头部标签组件
// import VueMeta from 'vue-meta'
// import directive from './directive' //directive

// 滚动翻页
import elTableInfiniteScroll from 'el-table-infinite-scroll';

// 引入echarts
// import echarts from 'echarts'
import * as echarts from 'echarts'
// 滚动动画
import scroll from 'vue-seamless-scroll'
// svg 导入
import './assets/icons' // icon

Vue.prototype.$echarts = echarts
Vue.prototype.download = download

Vue.config.productionTip = false

Vue.use(elTableInfiniteScroll);
// Vue.use(directive)
Vue.use(scroll)
Vue.use(plugins)
  // Vue.use(VueMeta)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
